/**
 * 公共路由
 * @author nikolatesfei
 */
import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter);

import Common from 'admin/config/routers/common'
import Config from 'admin/config/routers/config'
import Person from 'admin/config/routers/person'
import Wechat from 'admin/config/routers/wechat'

const routers = [];
routers.push.apply(routers,Common)
routers.push.apply(routers,Config)
routers.push.apply(routers,Person)
routers.push.apply(routers,Wechat)

const router = new VueRouter({
	mode: 'hash',
    routes: routers
})

export default  router;